import request from '@/utils/request'

export function selectBuildingList(query){
    return request({
        url:'/building/list',
        method:'get',
        params:query,
    })
}
//新增学生列表
export function addBuilding(data){
    return request({
        url:'/building/addBuilding',
        method:'post',
        data:data
    })
}
//修改学生列表
export function updateBuilding(data){
    return request({
        url:'/building/updateBuilding',
        method:'put',
        data:data
    })
}
//删除学生列表
export function deleteById(id){
    return request({
        url:'/building/'+id,
        method:'delete'
    })
}
